//
//  DRFoodTherapyCell.m
//  DoctorRen
//
//  Created by Lemon on 2018/11/19.
//

#import "DRFoodTherapyCell.h"
#import "DRFoodTherapyModel.h"

@interface DRFoodTherapyCell()
@property (weak, nonatomic) IBOutlet UIImageView *iconImageView;
@property (weak, nonatomic) IBOutlet UILabel *contentLabel;

@end

@implementation DRFoodTherapyCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

-(void)setItme:(DRFoodTherapyModel *)item{
    self.iconImageView.image = [UIImage imageNamed:item.image];
    self.contentLabel.text = item.title;
}

@end
